home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Jasc Software, Inc.',
- 'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc. All rights reserved.',
- 'Description': '',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.00'
- }
-
- def Swatch_SetMaterial():
- return {
- 'IsPrimary': App.Constants.Boolean.true,
- 'NewMaterial': {
- 'Color': None,
- 'Pattern': {
- 'Name': 'Corel_08_006',
- 'Image': None,
- 'Angle': 0.000000,
- 'Scale': 100.000000
- },
- 'Gradient': None,
- 'Texture': None
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'SetMaterial', Swatch_SetMaterial())
-
-